package com.sedshop.shop.library.volley;

/**
 * 服务端返回的错误实体类，code：错误请求码，text：错误描述���������
 */
public class UserException {
    private int code;
    private String text;

    public UserException() {
    }

    public UserException(int code, String text) {
        this.code = code;
        this.text = text;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return "UserException{" +
                "code=" + code +
                ", text='" + text + '\'' +
                '}';
    }
}
